package top.hcode.hoj.pojo.dto.coll;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 为主观题判分请求
 * @author orangej
 * @since 2025/2/15
 */
@Data
public class ItechCollJudgeQuestionDTO {
    @NotBlank(message = "题目id不能为空")
    private String questionId;

    @NotBlank(message = "用户答案不能为空")
    private String userAnswerId;

    @NotNull(message = "分数不能为空")
    private BigDecimal score;
}
